package cn.tx.dao;

import cn.tx.model.Gra;
import cn.tx.model.Grade;

import java.util.List;
import java.util.Map;

public interface GraDao {

    public Gra findByUserName(String username);
    public int addGra(Gra gra);
    public List<Gra> findList(Map<String,Object> querymap);
    public List<Gra> findAll();
    public int findTotal(Map<String,Object> querymap);
    public int UpdateGraById(Gra gra);
    public int delete(String sid);

}
